package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动记录对象 activity_record
 * 
 * @author ruoyi
 * @date 2024-06-28
 */
public class ActivityRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityDate;

    /** 活动场所 */
    @Excel(name = "活动场所")
    private String activityLocation;

    /** 参与人 */
    @Excel(name = "参与人")
    private String participants;

    /** 合同文档路径（或URL） */
    @Excel(name = "合同文档路径", readConverterExp = "或=URL")
    private String contractDocument;

    /** 照片路径（或URL，以逗号分隔） */
    @Excel(name = "照片路径", readConverterExp = "或=URL，以逗号分隔")
    private String photoUrls;

    /** 评论 */
    @Excel(name = "评论")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActivityName(String activityName) 
    {
        this.activityName = activityName;
    }

    public String getActivityName() 
    {
        return activityName;
    }
    public void setActivityDate(Date activityDate) 
    {
        this.activityDate = activityDate;
    }

    public Date getActivityDate() 
    {
        return activityDate;
    }
    public void setActivityLocation(String activityLocation) 
    {
        this.activityLocation = activityLocation;
    }

    public String getActivityLocation() 
    {
        return activityLocation;
    }
    public void setParticipants(String participants) 
    {
        this.participants = participants;
    }

    public String getParticipants() 
    {
        return participants;
    }
    public void setContractDocument(String contractDocument) 
    {
        this.contractDocument = contractDocument;
    }

    public String getContractDocument() 
    {
        return contractDocument;
    }
    public void setPhotoUrls(String photoUrls) 
    {
        this.photoUrls = photoUrls;
    }

    public String getPhotoUrls() 
    {
        return photoUrls;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityName", getActivityName())
            .append("activityDate", getActivityDate())
            .append("activityLocation", getActivityLocation())
            .append("participants", getParticipants())
            .append("contractDocument", getContractDocument())
            .append("photoUrls", getPhotoUrls())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
